#ifndef my485_H
#define my485_H

#include "stm32f4xx_gpio.h"
#include "stm32f4xx_rcc.h"
#include <inttypes.h>

extern const int RXMODE; 
extern const int TXMODE;

extern const uint16_t CTRL485s;
extern const uint16_t CTRL485[2];

void init485(void);
void set485(int PORT485x, int MODE485);


#endif
